package com.campuscarbooking.api.service;

import com.campuscarbooking.api.dto.message.CacheConsistencyMessage;

public interface CacheConsistencyService {
    /**
     * Send a cache consistency message to RabbitMQ
     * @param message the cache consistency message
     */
    void sendCacheConsistencyMessage(CacheConsistencyMessage message);

    /**
     * Handle cache consistency message from RabbitMQ
     * @param message the cache consistency message
     */
    void handleCacheConsistencyMessage(CacheConsistencyMessage message);
} 